package cn.wei.sdd.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wei
 * @Date: 2021/10/26/23:37
 */
@Data
@ApiModel(description="用户订单对象")
public class UserOrdersVO {

    /**
     * * 订单详情：
     *          *          订单号
     *          *          * 订单状态
     *          *          * 订单物品
     *          *          *订单物品数量
     *          *          *订单总价
     *          *          订单地址
     *          *          联系人
     *          *          电话号码
     *          *          预约时间
     *          *          备注
     */



    @ApiModelProperty(value = "订单号")
    private String orderNo;
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "接单回收员id")
    private Long recyclerId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "订单项")
    private List<OrderItemVO> orderItemVO;

    @ApiModelProperty(value = "预约时间")
    private String scheduledTime;

    @ApiModelProperty(value = "状态（-1：取消订单，0：待接单，1：等待上门， 2：完成,3：订单超时）")
    private String statusName;

    @ApiModelProperty(value = "回收员处理订单状态（-1：待回收，0：已回收，1：待打包， 2：完成）")
    private String recyclerStatus;


    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "备注")
    private String memo;

}
